package com.ivt.service;

import java.util.List;
import java.util.Set;

import com.ivt.core.ex.IvtException;
import com.ivt.model.Student;
import com.ivt.model.view.QueryCriteria;

public interface StudentService {

	// public boolean saveStudent(Student student) throws IvtException;

	public Student create(Student student) throws IvtException;

	public Student updateStudent(Student student) throws IvtException;

	public long queryCount(QueryCriteria queryCriteria) throws IvtException;

	public List<Student> queryClassesByCriteria(QueryCriteria queryCriteria)
			throws IvtException;

	public Student delete(Long studentId) throws IvtException;

	public int deletes(Long[] studentIds) throws IvtException;

	public Student getStudent(Long studentId) throws IvtException;

	public List<Student> getStudent(Set<Long> studentId) throws IvtException;

	public Student login(String username, String password) throws IvtException;
}
